import request from '@/utils/request'

export function insert (data) {
    return request({
        url: '/api/server/sysLiveStreaming/insert',
        method: 'post',
        data
    })
}

export function update (data) {
    return request({
        url: '/api/server/sysLiveStreaming/update',
        method: 'post',
        data
    })
}

export function queryByPage (data) {
    return request({
        url: '/api/server/sysLiveStreaming/queryByPage',
        method: 'post',
        data
    })
}

export function deleteById (data) {
    return request({
        url: '/api/server/sysLiveStreaming/deleteById?uid=' + data,
        method: 'get'
    })
}
